package com.xbongbong.parent.service;

import com.xbongbong.saas.domain.entity.PublicGroupEntity;
import com.xbongbong.sys.domain.entity.UserEntity;

import java.util.List;

/**
 * @author 吴峰
 * @date 2021/12/16 15:15
 */
public interface ListGroupService {

    /**
     * 根据个人权限过滤分组
     * @param list
     * @param user
     * @return
     */
    List<PublicGroupEntity> filterGroupByUser(List<PublicGroupEntity> list, UserEntity user);
}
